using UnityEngine;
using System.Collections;

public class hitPlatform : MonoBehaviour {
	public int amount = 0;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	public void OnCollisionEnter(Collision collision)// since only bombs populate the world, any collision will activate the score
	{
		ScoreKeeper.scores+=amount;
        audio.Play();	
		
	}
}
